
<div class="febs-container" id="hazardReportSort-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="hazardReportSort-edit-form">
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label febs-form-item-require">主键：</label>
                <div class="layui-input-block">
                    <input type="text" name="reportId" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-col-md6">
                    <label class="layui-form-label febs-form-item-require">报告编号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="reportNo" class="layui-input layui-disabled" th:value="${reportNo }" disabled>
                    </div>

                </div>
                <div class="layui-col-md6 febs-hide">
                    <label class="layui-form-label febs-form-item-require">公司Id：</label>
                    <div class="layui-input-block">
                        <select name="tenantId" id="tenantId" lay-search="" lay-filter="tenantId" lay-verify="required">
                            <option th:each="item:${tenantList }"
                                    th:value="${item.tenantId}" th:text="${item.tenantName}"
                                    th:selected="${tenantId ==item.tenantId}">
                        </select>

                    </div>
                </div>

                    <div class="layui-col-md6">
                        <label class="layui-form-label febs-form-item-require">隐患位置：</label>
                        <div class="layui-input-block">
                            <input type="text" name="hazardPlace" class="layui-input"  lay-verify="required" placeholder="请输入隐患位置">
                        </div>
                    </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label">隐患图片：</label>
                    <div class="layui-input-block">
                        <div id="fileUpload" style="height: 120px ;width: 100%">
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label febs-form-item-require">隐患描述：</label>
                    <div class="layui-input-block">
                        <textarea type="text" name="hazardDescription" autocomplete="off" class="layui-textarea" minlength="2"
                                  maxlength="800" placeholder="请输入隐患描述" lay-verify="required"></textarea>
                    </div>
                </div>
            </div>
            <div class="layui-form-item febs-hide">
                <button class="layui-btn" lay-submit="" lay-filter="hazardReportSort-edit-form-submit" id="submit"></button>
                <button type="reset" class="layui-btn" id="reset"></button>
            </div>
        </form>
    </div>
</div>
<script data-th-inline="javascript">
    var hazardReport = [[${hazardReport}]];
</script>
<script th:src="@{/febs/js/hazard/hazardReportSort/hazardReportSortEdit.js(v=1)}"></script>